package com.cndw.kungfu.model.battle;

import com.cndw.kungfu.vo.battlevo.AFailGoodsVO;

/**
 * 怪物掉落物品的vo
 * @author fantadust [9677889@qq.com]
 * @date 2011-7-18 下午6:23:14
 */
public class FailGoods {
	/**
	 * 物品索引id
	 */
	private int indexId;
	/**
	 * 所属玩家id
	 */
	private long playerId;
	/**
	 * 怪物id
	 */
	private long mId;
	/**
	 * 物品id
	 */
	private int goodsId;

	/**
	 * 物品是否绑定
	 */
	private int bind;
	
	public FailGoods(long mId ,int goodsId,int bind){
		this.goodsId = goodsId;
		this.mId = mId;
		this.bind = bind;
	}
	public int getIndexId() {
		return indexId;
	}
	public void setIndexId(int indexId) {
		this.indexId = indexId;
	}
	public long getPlayerId() {
		return playerId;
	}
	public void setPlayerId(long playerId) {
		this.playerId = playerId;
	}
	public long getmId() {
		return mId;
	}
	public void setmId(long mId) {
		this.mId = mId;
	}
	public int getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}

	public int getBind() {
		return bind;
	}
	public void setBind(int bind) {
		this.bind = bind;
	}
	public AFailGoodsVO toVO() {
		
		return new AFailGoodsVO(this);
	}
	
	
}
